import 'package:item_detail_demo/item_detail/model/item_detail_do.dart';

import '../model/image_bean.dart';

class ItemDetailDataManager {

  ItemDetailDataManager() {
    itemDetailDO = ItemDetailDO(
        desc: '【便宜处理】德国双立人小胖丁保温杯304不锈钢随身便携高颜值简约防摔防漏水\n公司年会采购多了出，都是全新未拆封带包装的！转给有需要的人，自用或送礼都很Nice！!\n\n✅超长的保温时效，300毫升容量刚刚好，304不锈钢内胆，易清洗耐腐蚀！\n\n✅想多喝水，杯子一定要好看又实用，可以保温也可以保冷人手两只都OK  银、黑两色随意选择， 保温杯中的爱马仕！\n\n❤️萌兔兔水杯：9.9包邮（图8）\n❤️小胖丁银色/黑色大肚杯：34.9包邮\n\n全国包邮，偏远地区请咨询后再下单，48小时内发货本交易仅支持邮寄！',
        pics: [
          ImageBean('http://img.alicdn.com/bao/uploaded/i1/O1CN01R6OfuH1GjrkZhob5F_!!0-fleamarket.jpg', 960, 960),
          ImageBean('http://img.alicdn.com/bao/uploaded/i1/O1CN011ytSdo1GjrkWclfJ1_!!0-fleamarket.jpg', 960, 960),
          ImageBean('http://img.alicdn.com/bao/uploaded/i2/O1CN017gExD31GjrkZhpbSy_!!0-fleamarket.jpg', 1080, 1080),
          ImageBean('http://img.alicdn.com/bao/uploaded/i4/O1CN01qmCAjf1GjrkWcmo1L_!!0-fleamarket.jpg', 1080, 1080),
          ImageBean('http://img.alicdn.com/bao/uploaded/i1/O1CN01wBBYRS1GjrkaMac2C_!!0-fleamarket.jpg', 960, 960),
          ImageBean('http://img.alicdn.com/bao/uploaded/i3/O1CN01sAAkOG1GjrkZhrTtd_!!0-fleamarket.jpg', 960, 960),
          ImageBean('http://img.alicdn.com/bao/uploaded/i4/O1CN01gWD9f01GjrkdzpeNB_!!0-fleamarket.jpg', 960, 960),
          ImageBean('http://img.alicdn.com/bao/uploaded/i3/O1CN01nBjGy91GjrkZhoSm0_!!0-fleamarket.jpg', 748, 748),
        ],
      price: '2050.00',
      tag: '包邮',
      itemRecord: '1071人想要 | 2.1万人看过',
      priceTag: '闲鱼币抵0.49元',
      xianyuhaoData: [
        {
          'title': '卖出好评率',
          'data': '84',
          'unit': '%',
          'desc': '66条评价',
        },
        {
          'title': '24小时回复率',
          'data': '57',
          'unit': '%',
          'desc': '平均3小时+回复',
        },
        {
          'title': '来到闲鱼',
          'data': '330',
          'unit': '天',
          'desc': '共卖出741件',
        },
      ],
      sellerItems: [
        'http://img.alicdn.com/bao/uploaded/i1/O1CN01KXD6on1GjrkhrIk4B_!!0-fleamarket.jpg',
        'http://img.alicdn.com/bao/uploaded/i2/O1CN01iC3ARe1GjrmLtRi68_!!0-fleamarket.jpg',
        'http://img.alicdn.com/bao/uploaded/i4/O1CN01cXrU7j1GjrkDxlvP4_!!0-fleamarket.jpg',
        'http://img.alicdn.com/bao/uploaded/i2/O1CN01HkYI3F1Gjrk12f295_!!0-fleamarket.jpg',
        'http://img.alicdn.com/bao/uploaded/i2/O1CN018edkFA1Gjrk6UmQEr_!!0-fleamarket.jpg',
        'http://img.alicdn.com/bao/uploaded/i3/O1CN01IQjNyH1GjrkKfO8FV_!!0-fleamarket.jpg',
        'http://img.alicdn.com/bao/uploaded/i2/O1CN01Bjtl1a1GjrkHzqETX_!!0-fleamarket.jpg',
        'http://img.alicdn.com/bao/uploaded/i3/O1CN01E2tVog1GjrmwlPU5X_!!0-fleamarket.jpg',
        'http://img.alicdn.com/bao/uploaded/i4/O1CN01x6vgH71GjrkTDvmLH_!!0-fleamarket.jpg',
        'http://img.alicdn.com/bao/uploaded/i4/O1CN01ibz5RZ1GjrkMPLqZO_!!0-fleamarket.jpg',
        'https://gw.alicdn.com/imgextra/i2/O1CN01xb9Lx31ZLZQwXccBK_!!6000000003178-2-tps-276-276.png',

      ],
      avatarUrl: 'http://img.alicdn.com/bao/uploaded/i1/O1CN01ZsEFIJ1GjrjCLuMjG_!!0-mtopupload.jpg',
      nick: '长河落日圆',
      userInfo: '5小时前来过 | 上海',


    );
    recommendData = _loadMockData();
    components = [
      'user_title',
      'item_price',
      'item_desc',
      'item_images',
      'item_xianyuhao',
      'recommend_title',
    ];
    attention = false;
  }

  late List<Map<dynamic, dynamic>> recommendData;

  late List<String> components;

  late ItemDetailDO itemDetailDO;

  late bool attention;

  List<Map<dynamic, dynamic>> _loadMockData() {
    return [
      {
        "price": "50",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01oRm4Yc1uH5XL2uk5K_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "男装，点进来 可单卖 30一件 成套多要可以便宜 有l码的，有xl的 适合120到130斤左右穿 成套买50",
        "avatarUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01sPNA7n1M2i4RYTryY_!!0-mtopupload.jpg",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN017RyM2J1QOTQpTmnx6_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "黑色XL男士套装",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "want": "180人想要"
      },
      {
        "price": "40",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN01auOgmJ1dPviKPyMli_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "优衣库一身运动服40元，L码！160号\n元\n感兴趣的话点“我想要”和我私聊吧～",
        "avatarUrl": "http://gtms03.alicdn.com/tps/i3/TB1LFGeKVXXXXbCaXXX07tlTXXX-200-200.png",
        "city": "北京",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "280人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN017RyM2J1QOTQpTmnx6_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "黑色XL男士套装 衣服宽松版的，追求完美的不要拍，看中的直接拍下",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://g.search.alicdn.com/img/i4/2333920050/O1CN01rg2yGi1CEwaZpbsw5_!!0-saturn_solar.jpg_sum.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "MLB QUG官方卫衣男女春秋季潮流宽松圆领美式休闲刺绣体恤上衣t恤",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01oRm4Yc1uH5XL2uk5K_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "大码女装，全新未穿未洗，详细信息可私聊\n感兴趣的话点“我想要”和我私聊吧～",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01RWXT5q2LZrMZ00FxK_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "运动套装 上衣：长度55宽度38cm左右 裤子：长度76宽度21cm左右 质感非常滑，贴身，高弹性，适合跑步骑车等 八成新以上特价转",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "60",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN016jZ7OQ1ymvWzxr26O_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "男士运动套装，适合一百八到二百斤的体重穿\n感兴趣的话点“我想要”和我私聊吧～",
        "avatarUrl": "http://gtms03.alicdn.com/tps/i3/TB1LFGeKVXXXXbCaXXX07tlTXXX-200-200.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "35",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN01FS6yFM28CsVow2boo_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "Adidas 运动套装 还有几条裤子 10-175左右尺码 感兴趣的话点&ldquo;我想要&rdquo;和我私聊吧～",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01o7uV1F2NXgkP3i6TH_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "鸿星尔克运动服一套，实体店购入，尺码偏小，xl码，本人162 体重90斤穿正好，裤子有一点点小瑕疵如图，59一套包邮出",
        "avatarUrl": "http://img.alicdn.com/bao/uploaded/i3/O1CN01jC8UXH2NXgdhlWH3N_!!0-fleamarket.jpg",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://g.search3.alicdn.com/img/i3/110722635/O1CN01JzHbRJ1VKsQ4pWii4_!!0-saturn_solar.jpg_sum.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "沙驰男装 Satchi/2022秋冬新款高端商务羊毛外套保暖兔毛内里夹克",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01VrZdGE25Fg5hif6Ls_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "彪马衣服加裤子 打包100元，单件60元正品\n感兴趣的话点“我想要”和我私聊吧～",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i4/O1CN01ym2GQU1mX6PkjzZu0_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "闲置全新正品男士套装，kM品牌，运动套装春秋可穿，帅气休闲卫衣裤子宽松，时尚，姐姐给买的",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "120",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN010XA1Xr1u5dcnNNnkB_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "一套哈 忘了谁家的衣服了  没穿过 不适合我 或许当个运动服穿吧 m码  175以下能穿   一套一起卖",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i3/O1CN01pqYwT81x6VBuJZnFg_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "微瑕疵 男女运动服套装  卫衣面料很舒服 常规厚度 单件20元一件  新疆西藏不发货 其他地区包邮  需要的点&ldquo;我想要&rdquo; 联系客服选尺码",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://g.search1.alicdn.com/img/i1/24329874/O1CN01x6uzxn2MoLX2U3xg6_!!0-saturn_solar.jpg_sum.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "12人收藏】 忘不了男装冬季男士皮衣绵羊皮保暖立领款皮夹克黑色合身版机车服",
        "avatarUrl": "http://gdp.alicdn.com/shop-logo//4a/a5/TB1Snv7LXXXXXXraXXXwu0bFXXX.png",
        "city": "杭州",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i1/O1CN01svnkTb1GurITC8y71_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "闲置优衣库束脚裤穿着特别舒服，一起买了三条，这是墨绿色的。 感兴趣的话点&ldquo;我想要&rdquo;和我私聊吧～",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i3/O1CN01O14iL71VOXaLyiyQH_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "法兰绒连帽开衫套装，深灰色，胸围平铺114cm，裤长97cm，包邮商品，一经出售概不退换",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i3/O1CN01GV5D5l1xEHxZLmOOj_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "冠军运动套装 加厚",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      },
      {
        "price": "150.09",
        "mainPicUrl": "http://img.alicdn.com/bao/uploaded/i2/O1CN01TwV0Jq2FGGi7h0LIv_!!0-fleamarket.jpg",
        "tagUrl": "https://gw.alicdn.com/tfs/TB1eCD602b2gK0jSZK9XXaEgFXa-84-48.png",
        "title": "运动套装 男孩 全新",
        "avatarUrl": "https://gw.alicdn.com/tfs/TB1FFC6rebviK0jSZFNXXaApXXa-32-32.png",
        "city": "杭州",
        "userTagUrl": "https://gw.alicdn.com/tfs/TB1656k1XY7gK0jSZKzXXaikpXa-240-48.png",
        "want": "180人想要"
      }
    ];
  }
}